package org.chatty.applet;

import java.applet.Applet;
import java.net.URL;

public class PlayApplet extends Applet {

	public void init() {
		try {
			String href = this.getParameter( "href" );
			super.getAudioClip( new URL( href ) ).play();
		} catch( Exception e ) {
			super.showStatus( e.toString() );
		}
	}
};
